<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="/music/Public/Admin/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="/music/Public/Admin/Js/index.js"></script>
<script type="text/javascript" src="/music/Public/Admin/Js/jq.js"></script>
<link rel="stylesheet" href="/music/Public/Admin/Css/public.css" />
<link rel="stylesheet" href="/music/Public/Admin/Css/index.css" />
<link rel="stylesheet" href="/music/Public/Admin/Css/login.css" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

</head>
<table>
	<tr>
		<td><a href="/music/index.php/Admin/Share/edit/id/<?php echo ($id); ?>">基本修改</a></td>
		<td><a href="/music/index.php/Admin/Share/photo/id/<?php echo ($id); ?>">写真修改</a></td>
		<td><a href="/music/index.php/Admin/Share/pic/id/<?php echo ($id); ?>">头像修改</a></td>
	</tr>
</table>
<form action="/music/index.php/Admin/Share/photo" method="post" enctype="multipart/form-data">
<table>
	<tr>
		<td>歌手写真:</td>
		<td>
			<input type="hidden" name="id" value="<?php echo ($id); ?>"　/>
			<input type="file" name="authorImg[]" multiple="multiple" />	(可多选)		 
		</td>
	</tr>
	<tr>
		<td></td>
		<td><input type="submit" /></td>
	</tr>
</table>
<div class="photo">
	<ul>
		<?php if(is_array($data)): foreach($data as $key=>$v): ?><li>
			<img src="/music<?php echo ($v["img"]); ?>" width="200" height="300" />
			<p>
				<a href="/music/index.php/Admin/Share/photo/id/<?php echo ($id); ?>/pid/<?php echo ($v["pid"]); ?>" class="del">删除</a>
			</p>
		</li><?php endforeach; endif; ?>
	</ul>
</div>
</form>